/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package server.process;

import java.util.Comparator;

/**
 *
 * @author Hoang
 */
public class UserUploadImageReportComparator implements Comparator<UserUploadImageReport> {

    public int compare(UserUploadImageReport o1, UserUploadImageReport o2) {
        return (-1)*(o1.getQuantity()-o2.getQuantity());
    }

}
